<template>
	<view class="detailBox">
		<view class="mart-30">
			<view class="topContent readBox" v-if="thisData">
				<!-- <u-read-more ref="uReadMore" :showHeight="200" closeText="查看更多" :toggle="true"> -->
					<u-row gutter="0" class="marb-20">
						<u-col span="4" textAlign="center">
							<text class="label-name">创建人</text>
						</u-col>
						<u-col span="6">
							<text class="label-name">{{thisData.createUserName}}</text>
						</u-col>
					</u-row>
					<u-line class="marb-20"></u-line>
					<u-row gutter="0" class="marb-20">
						<u-col span="4" textAlign="center">
							<text class="label-name">安装日期</text>
						</u-col>
						<u-col span="6">
							<text class="label-name">{{thisData.installTime | ymd}}</text>
						</u-col>
					</u-row>
					<u-line class="marb-20"></u-line>
					<u-row gutter="0" class="marb-20">
						<u-col span="4" textAlign="center">
							<text class="label-name">换绳原因</text>
						</u-col>
						<u-col span="6">
							<text class="label-name">{{thisData.reason || '-'}}</text>
						</u-col>
					</u-row>
					<u-line class="marb-20"></u-line>
					<u-row gutter="0" class="marb-20">
						<u-col span="4" textAlign="center">
							<text class="label-name">备注</text>
						</u-col>
						<u-col span="6">
							<text class="label-name">{{thisData.remark || '-'}}</text>
						</u-col>
					</u-row>
					<u-line class="marb-20"></u-line>
					<u-row gutter="0" class="marb-20">
						<u-col span="4" textAlign="center">
							<text class="label-name">类型</text>
						</u-col>
						<u-col span="6">
							<text class="label-name">{{thisData.type | enums($enums.InstallRope_Type)}}</text>
						</u-col>
					</u-row>
					<!-- <u-line class="marb-20"></u-line>
					<u-row gutter="0" class="marb-20">
						<u-col span="4" textAlign="center">
							<text class="label-name">操作</text>
						</u-col>
						<u-col span="3" textAlign="center">
							<u-button type="warning" @click="onShowDetail" size="small" text="详情"></u-button>
						</u-col>
					</u-row> -->
					
				<!-- </u-read-more> -->
			</view>
		</view>
		
	</view>
</template>

<script>
	
	export default {
		data() {
			return {
				thisID: null,
				thisData: {
				},
			}
		},
		onLoad(options) {
			let that = this;
			// #ifdef APP-NVUE
			const eventChannel = this.$scope.eventChannel; // 兼容APP-NVUE
			// #endif

			// #ifndef APP-NVUE
			const eventChannel = this.getOpenerEventChannel();
			// #endif
		},
		beforeDestroy() {

		},
		methods: {
			init(data) {
				this.thisData = data.installModel;
				return;
			},
		}
	}
</script>

<style>

</style>